<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@page import="java.text.SimpleDateFormat" %>
<%@ page language="java" import="java.util.*" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>


<%
    String path = request.getContextPath();
%>
<%
    String d = request.getParameter("d");
    if (d != null && d.equals("1")) {
        response.setHeader("Content-disposition", "attachment; filename=daochu.xls");
    }
//获取并判断浏览器信息
    String Agent = request.getHeader("User-Agent");
    if (Agent.contains("Chrome")) {
        System.out.println("Chrome");
        request.setAttribute("brtype", "cbr");
    } else {
        System.out.println("!Chrome");
        request.setAttribute("brtype", "obr");
    }
    System.out.println(Agent);
%>


<html>
<head>
    <title>title</title>
    <!--bixanjxiqxi-->
    <LINK href="qtimages/style.css" type=text/css rel=stylesheet>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">


	<script type="text/javascript" src="<%=path %>/js/popup.js"></script>
	<script language="JavaScript" src="<%=path %>/js/public.js" type="text/javascript"></script>
	<script type='text/javascript' src='<%=path %>/dwr/interface/loginService.js'></script>
	<script type='text/javascript' src='<%=path %>/dwr/engine.js'></script>
	<script type='text/javascript' src='<%=path %>/dwr/util.js'></script>
	<%--<script type="text/javascript" src="<%=path %>/js/riqi.js"></script>--%>

	<script language="javascript">


		function up()
		{
			var pop=new Popup({ contentType:1,isReloadOnClose:false,width:400,height:200});
			pop.setContent("contentUrl","<%=path %>/upload/upload.jsp");
			pop.setContent("title","文件上传");
			pop.build();
			pop.show();
		}
		function upx(id)
		{
			//window.open("<%=path %>/upload/upload.jsp?id="+id, "_self");
			var pop=new Popup({ contentType:1,isReloadOnClose:false,width:400,height:200});
			pop.setContent("contentUrl","<%=path %>/upload/upload.jsp?id="+id);
			pop.setContent("title","文件上传");
			pop.build();
			pop.show();
		}
		function down1(fujianPath,fujianYuashiMing)
		{
			var url="<%=path %>/updown/updown.jsp?fujianPath="+fujianPath+"&fujianYuashiMing="+fujianYuashiMing;
			url=encodeURI(url);
			url=encodeURI(url);
			window.open(url,"_self");
		}
		//2 针对本对象添加子表信息，唯一
		

		//3子表管理getbycolumnjs
		/*classNameLowerDetailQian.jsp.sonGetByFatheridQianjsList*/

	</script>
</head>



<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="1000" height="1160" border="0" align="center" cellpadding="0" cellspacing="0" id="__01">
    <tr>
        <td>
            <%@ include file="qttop.jsp" %>
        </td>
    </tr>
    <tr>
        <td>
            <table id="__01" width="1000" height="804" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td valign="top">
                        <%@ include file="qtleft.jsp" %>
                    </td>
                    <td valign="top">
                        <table id="__01" width="770" height="804" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td valign="top">
                                    <table id="__01" width="770" height="276" border="0" cellpadding="0"
                                           cellspacing="0">

										<%----%>
										<%--<%@ include file="bht.jsp" %>--%>
										<%----%>

										<tr>
                                            <td width="770" height="36" background="qtimages/1_02_02_01_01.gif">
                                                <table width="98%" height="22" border="0" cellpadding="0"
                                                       cellspacing="0">
                                                    <tr>
                                                        <td width="17%" align="center"><strong>评论信息</strong></td>
                                                        <td width="83%">&nbsp;</td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table id="__01" width="770" height="231" border="0" cellpadding="0"
                                                       cellspacing="0">
                                                    <tr>
                                                        <td width="11" background="qtimages/1_02_02_01_02_01.gif">
                                                            &nbsp;
                                                        </td>
                                                        <td height="759" valign="top">


                                                            <table width="100%" border="0" align="center"
                                                                   cellpadding="3" cellspacing="1" bordercolor="#00FFFF"
                                                                   style="border-collapse:collapse" class="newsline">

																					    <tr>
							<td width="39%" height="44">
								评语:
							</td>
							<td width="39%" >
								${requestScope.chanpinpingjia.biaoti }
							</td>
						</tr>
					    <tr>
							<td width="39%" height="44">
								分数（范围1-5）:
							</td>
							<td width="39%" >
								${requestScope.chanpinpingjia.fenshu }
							</td>
						</tr>

						<tr>
							<td width="39%" height="44">
								时间:
							</td>
							<td width="39%" >
								${requestScope.chanpinpingjia.shijian }
							</td>
						</tr>

						<tr>
							<td width="39%" height="44">
								评论菜品:
							</td>
							<td width="39%" >
								${requestScope.chanpinpingjia.shangpin.mingcheng }
							</td>
						</tr>

                        <tr>
                            <td width="39%" height="44">
                                评论用户:
                            </td>
                            <td width="39%" >
                                ${requestScope.chanpinpingjia.users.loginname }
                            </td>
                        </tr>



																<tr>
																	<td colspan=3 align=center>

																		

																		<input type=button name=Submit5 value=返回
																			   onClick="javascript:history.back()"/>
																		<input type=button name=Submit52 value=打印 onClick="javascript:window.print()"/>


																	</td>
																</tr>

                                                            </table>

                                                        </td>
                                                        <td width="10" background="qtimages/1_02_02_01_02_04.gif">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><img src="qtimages/1_02_02_01_03.gif" width="770" height="9" alt="">
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>

                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <%@ include file="qtdown.jsp" %>
        </td>
    </tr>
</table>
<!-- dfexnxxiaxng -->
</body>
</html>
<!--suxilxatxihuxan-->
